package com.kgc.springboot.aviation.pojo;

import java.util.List;

public class Branch {
    private Integer id;

    private String branchName;

    private Integer lawsId;

    private Integer branchSorting;

    private Integer menuId;

    private Integer level;

    private List<Menu> menus;

    public List<Menu> getMenus() {
        return menus;
    }

    public void setMenus(List<Menu> menus) {
        this.menus = menus;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName == null ? null : branchName.trim();
    }

    public Integer getLawsId() {
        return lawsId;
    }

    public void setLawsId(Integer lawsId) {
        this.lawsId = lawsId;
    }

    public Integer getBranchSorting() {
        return branchSorting;
    }

    public void setBranchSorting(Integer branchSorting) {
        this.branchSorting = branchSorting;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Branch{" +
                "id=" + id +
                ", branchName='" + branchName + '\'' +
                ", lawsId=" + lawsId +
                ", branchSorting=" + branchSorting +
                ", menuId=" + menuId +
                ", level=" + level +
                ", menus=" + menus +
                '}';
    }
}